import {RouteRecordRaw} from "vue-router";
import Index from '../lesson/chapter1/index.vue'
import Index2 from '../lesson/chapter1/index2.vue'
import index3 from '../lesson/chapter1/index3.vue'
import index4 from '../lesson/chapter1/index4.vue'
import index5 from '../lesson/chapter1/index5.vue'
import index6 from '../lesson/chapter1/index6.vue'
import index7 from '../lesson/chapter2/index.vue'
import index8 from '../lesson/chapter2/index2.vue'
import index9 from '../lesson/chapter2/index3.vue'
import index10 from '../lesson/chapter2/index4.vue'
import index11 from '../lesson/chapter2/index5.vue'
import index12 from '../lesson/chapter2/index6.vue'
import index13 from '../lesson/chapter2/index7.vue'
import index14 from '../lesson/chapter3/index.vue'
import index15 from '../lesson/chapter3/index2.vue'
import index16 from '../lesson/chapter3/index3.vue'
import index17 from '../lesson/chapter3/index4.vue'
import indexCar from '../lesson/chapter4/indexCar.vue'

const chapter1 : RouteRecordRaw[] = [
    {
        path:'/',
        component: Index,
        meta:{
            title:"第一个场景"
        }
    },
    {
        path:'/chapter1/2',
        component: Index2,
        meta:{
            title:"第二个场景"
        }
    },
    {
        path:'/chapter1/3',
        component: index3,
        meta:{
            title:"第三个场景"
        }
    }
    ,
    {
        path:'/chapter1/4',
        component: index4,
        meta:{
            title:"性能监控"
        }
    },
    {
        path:'/chapter1/5',
        component: index5,
        meta:{
            title:"交互控制"
        }
    }
    ,{
        path:'/chapter1/6',
        component: index6,
        meta:{
            title:"响应窗口变化"
        }
    }
    ,
    {
        path:'/chapter2/1',
        component: index7,
        meta:{
            title:"响应窗口变化"
        }
    },
    {
        path:'/chapter2/2',
        component: index8,
        meta:{
            title:"雾化场景"
        }
    },
    {
        path:'/chapter2/3',
        component: index9,
        meta:{
            title:"雾化场景"
        }
    }
    ,
    {
        path:'/chapter2/4',
        component: index10,
        meta:{
            title:"常见几何体"
        }
    }
    ,
    {
        path:'/chapter2/5',
        component: index11,
        meta:{
            title:"改变几何体属性"
        }
    }
    ,
    {
        path:'/chapter2/6',
        component: index12,
        meta:{
            title:"相机切换"
        }
    }
    ,
    {
        path:'/chapter2/7',
        component: index13,
        meta:{
            title:"相机跟随"
        }
    }
     ,
    {
        path:'/chapter3/1',
        component: index14,
        meta:{
            title:"环境光"
        }
    }
   ,
    {
        path:'/chapter3/2',
        component: index15,
        meta:{
            title:"点光源"
        }
    }
    ,
    {
        path:'/chapter3/3',
        component: index16,
        meta:{
            title:"聚光灯"
        }
    }
    ,
    {
        path:'/chapter3/4',
        component: index17,
        meta:{
            title:"平行光"
        }
    }
    ,
    {
        path:'/chapter4/1',
        component: indexCar,
        meta:{
            title:"小车案例"
        }
    }
]
export default chapter1;
